<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>长途客运售票管理系统</title>
<link rel="stylesheet" href="layui/css/layui.css">
<style type="text/css">
    .layui-laydate-content>.layui-laydate-list {
        padding-bottom: 0px;
        overflow: hidden;
    }
    .layui-laydate-content>.layui-laydate-list>li{
        width:50%
    }
</style>
</head>
<body class="layui-layout-body">
	<div class="layui-layout layui-layout-admin">
		<div class="layui-header">
			<div class="layui-logo">长途客运售票管理系统</div>
			<!-- 头部区域（可配合layui已有的水平导航） -->
			<ul class="layui-nav layui-layout-right">
				<li class="layui-nav-item"><a href="javascript:;">管理员</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="javascript:;">基本资料</a>
						</dd>
						<dd>
							<a href="javascript:;">安全设置</a>
						</dd>
					</dl>
				</li>
				<li class="layui-nav-item"><a href="javascript:;">退出</a></li>
			</ul>
		</div>
		<div class="layui-side layui-bg-black">
			<div class="layui-side-scroll">
				<!-- 左侧导航区域（可配合layui已有的垂直导航） -->
				<ul class="layui-nav layui-nav-tree">
					<li class="layui-nav-item">
						<a	href="javascript:;"><i class="layui-icon" style="font-size: 20px; color: #009688;">&#xe614;</i>　用户管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:$('#content').load('user/showUser?username')">用户查询</a>
							</dd>
						</dl>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;"><i class="layui-icon" style="font-size: 20px; color: #009688;">&#xe62e;</i>　运营管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:$('#content').load('busLine/showAll')">线路管理</a>
							</dd>
							<dd>
								<a href="javascript:$('#content').load('sequence/showAll')">班次管理</a>
							</dd>
						</dl>
					</li>
					<li class="layui-nav-item">
						<a href="javascript:;"><i class="layui-icon" style="font-size: 20px; color: #009688;">&#xe631;</i>　订单管理</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:$('#content').load('order/showOrder')">订单查询</a>
							</dd>
						</dl>
					</li>
				</ul>
			</div>
		</div>
		<div class="layui-body">
			<!-- 内容主体区域 -->
			<div id="content" style="padding: 15px;">
			</div>
		</div>
		<div class="layui-footer">
			<!-- 底部固定区域 -->
			© 吕文博
		</div>
	</div>
	<script src="layui/layui.js" charset="utf-8"></script>
	<script src="js/jquery-3.3.1.min.js" charset="utf-8"></script>
	<script>
		layui.use(['form','layer','element','laypage','table','laydate'], function() {
			//var form = layui.form,
			//增加这句，否则jquery不能用
			//$ = layui.$,
			//element = layui.element,
			//laypage = layui.laypage,
			//layer = layui.layer;
			laydate = layui.laydate
		});
		function loadPage(url,data){
			$.ajax({
				type:"POST",
				url:url,
				data:data,
				async:true,
				dataType:"html",
				success:function(html){
					$("#content").html(html);
				}
			});
		}
	</script>
</body>
</html>